package com.wuzhazha.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author yaolong
 * @date 2018/10/27 11:07 AM
 */
@FeignClient(name = "service-producer")
public interface HiRemote {

    @GetMapping("/hi/")
    String hi(@RequestParam(value = "name") String name);

}
